﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Happy.Event.Offline
{
    /// <summary>
    /// 离线事件订阅者接口。
    /// </summary>
    public interface IOfflineEventSubscriber<TEvent>
        where TEvent : IEvent
    {
        /// <summary>
        /// 离线事件处理方法。
        /// </summary>
        void Handle(TEvent @event);
    }
}
